OPC Studio User's Guide and Reference
DAVtqResult<TValue> Constructor(Object,DAVtq<TValue>)



View with Navigation Tools
OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > DAVtqResult<TValue> Class > DAVtqResult<TValue> Constructor : DAVtqResult<TValue> Constructor(Object,DAVtq<TValue>)
The state object specified when the operation was invoked.

The value of this parameter can be null (Nothing in Visual Basic).

The DAVtq<TValue> (value, timestamp and quality) that is a successful result of the operation.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given state object and DAVtq<TValue>.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal vtq As DAVtq(Of TValue) _
)
 
'Usage
 
Dim state As Object
Dim vtq As DAVtq(Of TValue)
 
Dim instance As New DAVtqResult(Of TValue)(state, vtq)

Parameters

state
The state object specified when the operation was invoked.

The value of this parameter can be null (Nothing in Visual Basic).

vtq
The DAVtq<TValue> (value, timestamp and quality) that is a successful result of the operation.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also